import request from 'src/utils/request'

const base_2 = import.meta.env.DEV ? 'http://localhost:3019/shenwenyi' : ''
const base_1 = import.meta.env.DEV ? 'http://localhost:3019/zhoupan' : ''
const base = import.meta.env.DEV ? 'http://localhost:3019/chenjialin' : ''

// 积分管理 积分发放统计的接口
export function pointList(data) {
    return request({
        // url: base_2+'/point/statistics/point/income/line',
        url: '/point/statistics/point/income/line',
        method: 'post',
        data
    })
}

// 积分管理 积分消耗统计的接口
export function pointConsumeList(data) {
    return request({
        // url: base_2+'/point/statistics/point/expend/line',
        url: '/point/statistics/point/expend/line',
        method: 'post',
        data
    })
}

// 积分管理 积分数据统计的接口
export function pointAct(data) {
    return request({
        // url: base_2+'/point/statistics/point/act',
        url: '/point/statistics/point/act',
        method: 'post',
        data
    })
}
